]> permondes.de Git - Analog_Engine.git/blame - scripts/EP1 871102 Throwing a stone.LACE
Throwing a stone on earth, starting a rocket from earth
[Analog_Engine.git] / scripts / EP1 871102 Throwing a stone.LACE
CommitLineData
68fb174e
P
1# Throwing a stone on earth
2#
3# z'' = -g, with g=0,981 da*m/s^2
4# Initial speeds: v.z0 (vertical) and v.x0 (horizontal)
5
6coefficient.1(-1) -> -g # set to 0,981
7coefficient.2(+1) -> v.z0 # initial vertical speed
8coefficient.3(+1) -> v.x0 # initial horizontal speed
9coefficient.4(-1) -> -z0 # initial altitude
10
11iintegrate (-g) -> -v
12 IC: v.z0
13iintegrate (-v) -> z
14 IC: -z0
15
16iintegrate (v.x0) -> x
17
18invert (-v) -> v
19
20output (x) -> out.x
21output (z) -> out.y
22output (v) -> out.z